package com.jialea.springboot.common.exception;


/**
 * 基础异常
 *
 * @author
 */
public class BaseException extends RuntimeException {
    private static final long serialVersionUID = 1L;

    /**
     * 错误码
     */
    private String code;

    /**
     * 错误消息
     */
    private String message;

    public BaseException(String code, String message) {
        super(message);
        this.code = code;
        this.message = message;

    }

}
